package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.entity.SysUser;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 推荐帖审核对象 recommend
 * 
 * @author ruoyi
 * @date 2025-06-05
 */
public class Recommend extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 推荐 */
    private Long recId;

    /** 发布者 */
    @Excel(name = "发布者")
    private Long userId;

    /** 推荐封面 */
    @Excel(name = "推荐封面")
    private String recCover;

    /** 推荐标题 */
    @Excel(name = "推荐标题")
    private String recTitle;

    /** 推荐内容 */
    @Excel(name = "推荐内容")
    private String recContent;

    /** 推荐图片 */
    private String imgUrl;

    /** 推荐状态 */
    @Excel(name = "推荐状态")
    private Long recStatus;

    /** 发布时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发布时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date recTime;

    /** 点赞数 */
    private Long recPraise;

    /** 回复 */
    @Excel(name = "回复")
    private String adminRespond;

    private String nickName;
    private SysUser sysUser;

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public SysUser getSysUser() {
        return sysUser;
    }

    public void setSysUser(SysUser sysUser) {
        this.sysUser = sysUser;
    }

    public void setRecId(Long recId)
    {
        this.recId = recId;
    }

    public Long getRecId() 
    {
        return recId;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setRecCover(String recCover) 
    {
        this.recCover = recCover;
    }

    public String getRecCover() 
    {
        return recCover;
    }

    public void setRecTitle(String recTitle) 
    {
        this.recTitle = recTitle;
    }

    public String getRecTitle() 
    {
        return recTitle;
    }

    public void setRecContent(String recContent) 
    {
        this.recContent = recContent;
    }

    public String getRecContent() 
    {
        return recContent;
    }

    public void setImgUrl(String imgUrl) 
    {
        this.imgUrl = imgUrl;
    }

    public String getImgUrl() 
    {
        return imgUrl;
    }

    public void setRecStatus(Long recStatus) 
    {
        this.recStatus = recStatus;
    }

    public Long getRecStatus() 
    {
        return recStatus;
    }

    public void setRecTime(Date recTime) 
    {
        this.recTime = recTime;
    }

    public Date getRecTime() 
    {
        return recTime;
    }

    public void setRecPraise(Long recPraise) 
    {
        this.recPraise = recPraise;
    }

    public Long getRecPraise() 
    {
        return recPraise;
    }

    public void setAdminRespond(String adminRespond) 
    {
        this.adminRespond = adminRespond;
    }

    public String getAdminRespond() 
    {
        return adminRespond;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("recId", getRecId())
            .append("userId", getUserId())
            .append("recCover", getRecCover())
            .append("recTitle", getRecTitle())
            .append("recContent", getRecContent())
            .append("imgUrl", getImgUrl())
            .append("recStatus", getRecStatus())
            .append("recTime", getRecTime())
            .append("recPraise", getRecPraise())
            .append("adminRespond", getAdminRespond())
            .toString();
    }
}
